﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 设计模式.业务代表模式
{
  public  class Client
    {
        BusinessDelegate businessService;

        public Client(BusinessDelegate businessDelegate)
        {
            this.businessService = businessDelegate;
        }

        public void DoTask()
        {
            businessService.DoTask();
        }
    }
}
